package com.xwamp.model.base;

import com.jfinal.plugin.activerecord.IBean;
import com.jfinal.plugin.activerecord.Model;

@SuppressWarnings({"serial", "unchecked"})
public class BaseAuthRuleModel<M extends BaseAuthRuleModel<M>> extends Model<M> implements IBean {
	public M setId(Integer value) {
		set("id", value);
		return (M)this;
	}

	public Integer getId() {
		return get("id");
	}
	public M setTitle(String value) {
		set("title", value);
		return (M)this;
	}

	public String getTitle() {
		return get("title");
	}
	public M setRuleName(String value) {
		set("rule_name", value);
		return (M)this;
	}

	public String getRuleName() {
		return get("rule_name");
	}
	public M setRuleCode(String value) {
		set("rule_code", value);
		return (M)this;
	}

	public String getRuleCode() {
		return get("rule_code");
	}
	public M setPid(Integer value) {
		set("pid", value);
		return (M)this;
	}

	public Integer getPid() {
		return get("pid");
	}
	public M setParent1Id(Integer value) {
		set("parent1_id", value);
		return (M)this;
	}

	public Integer getParent1Id() {
		return get("parent1_id");
	}
	public M setParent2Id(Integer value) {
		set("parent2_id", value);
		return (M)this;
	}

	public Integer getParent2Id() {
		return get("parent2_id");
	}
	public M setParent3Id(Integer value) {
		set("parent3_id", value);
		return (M)this;
	}

	public Integer getParent3Id() {
		return get("parent3_id");
	}
	public M setParent4Id(Integer value) {
		set("parent4_id", value);
		return (M)this;
	}

	public Integer getParent4Id() {
		return get("parent4_id");
	}
	public M setParent5Id(Integer value) {
		set("parent5_id", value);
		return (M)this;
	}

	public Integer getParent5Id() {
		return get("parent5_id");
	}
	public M setAddon(String value) {
		set("addon", value);
		return (M)this;
	}

	public String getAddon() {
		return get("addon");
	}
	public M setLevel(Short value) {
		set("level", value);
		return (M)this;
	}

	public Short getLevel() {
		return get("level");
	}
	public M setType(String value) {
		set("type", value);
		return (M)this;
	}

	public String getType() {
		return get("type");
	}
	public M setUrl(String value) {
		set("url", value);
		return (M)this;
	}

	public String getUrl() {
		return get("url");
	}
	public M setCondition(String value) {
		set("condition", value);
		return (M)this;
	}

	public String getCondition() {
		return get("condition");
	}
	public M setRemark(String value) {
		set("remark", value);
		return (M)this;
	}

	public String getRemark() {
		return get("remark");
	}
	public M setSort(Short value) {
		set("sort", value);
		return (M)this;
	}

	public Short getSort() {
		return get("sort");
	}
	public M setStatus(Short value) {
		set("status", value);
		return (M)this;
	}

	public Short getStatus() {
		return get("status");
	}
	public M setCreateTime(String value) {
		set("create_time", value);
		return (M)this;
	}

	public String getCreateTime() {
		return get("create_time");
	}

}
